package org.example.Spring.AOP;

public class StudentProxy implements ITalk{
    ITalk italk;

    public StudentProxy(ITalk italk) {
        this.italk = italk;
    }

    @Override
    public void talk(String smg) {
        italk.talk(smg);
        skill("Java");
    }

    public void skill(String str){
        System.out.println("我掌握的语言是："+str);
    }
}
